package com.fjw.service;

import com.fjw.pojo.User;
import com.github.pagehelper.PageInfo;

public interface UserService {

    //用户注册 需要加密
    Integer register(User user,Integer roleId);

    User login(String username);

    //显示班级的所有学生
    PageInfo<User> listByClazId(Integer clazId, Integer pageNum);
}
